package org.facyt.commons.view.interfaces.window;

import com.vaadin.Application;
import com.vaadin.terminal.Resource;

public class WindowInfo {

	Application application;

	String title = "windowMessage.title";

	String message;

	String detail;

	Resource icon;

	String buttonLabel = "windowMessage.button.ok.label";

	String buttonDetail = "windowMessage.button.detail.label";

	public WindowInfo(Application application, String title, String message, String detail, Resource icon) {
		super();
		this.application = application;
		this.title = title;
		this.message = message;
		this.detail = detail;
		this.icon = icon;
	}

	public WindowInfo(Application application, String message, String detail, Resource icon) {
		super();
		this.application = application;
		this.message = message;
		this.detail = detail;
		this.icon = icon;
	}

	public WindowInfo(Application application, String message, Resource icon) {
		super();
		this.application = application;
		this.message = message;
		this.icon = icon;
	}

	public Application getApplication() {
		return application;
	}

	public void setApplication(Application application) {
		this.application = application;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public Resource getIcon() {
		return icon;
	}

	public void setIcon(Resource icon) {
		this.icon = icon;
	}

	public String getButtonLabel() {
		return buttonLabel;
	}

	public void setButtonLabel(String buttonLabel) {
		this.buttonLabel = buttonLabel;
	}

	public String getButtonDetail() {
		return buttonDetail;
	}

	public void setButtonDetail(String buttonDetail) {
		this.buttonDetail = buttonDetail;
	}

}